<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>com.dtmilano.android.viewclient.UiScrollable</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="com.dtmilano.android-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="https://github.com/dtmilano/AndroidViewClient">Project Homepage</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Package&nbsp;com ::
        Package&nbsp;dtmilano ::
        <a href="com.dtmilano.android-module.html">Package&nbsp;android</a> ::
        <a href="com.dtmilano.android.viewclient-module.html">Module&nbsp;viewclient</a> ::
        Class&nbsp;UiScrollable
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="com.dtmilano.android.viewclient.UiScrollable-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class UiScrollable</h1><p class="nomargin-top"><span class="codelink"><a href="com.dtmilano.android.viewclient-pysrc.html#UiScrollable">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_com_dtmi_20" name="uml_class_diagram_for_com_dtmi_20">
<area shape="rect" id="node1_10" href="com.dtmilano.android.viewclient.UiScrollable-class.html#__init__" title="com.dtmilano.android.viewclient.UiScrollable.__init__" alt="" coords="18,101,257,121"/>
<area shape="rect" id="node1_11" href="com.dtmilano.android.viewclient.UiScrollable-class.html#flingBackward" title="com.dtmilano.android.viewclient.UiScrollable.flingBackward" alt="" coords="18,121,257,141"/>
<area shape="rect" id="node1_12" href="com.dtmilano.android.viewclient.UiScrollable-class.html#flingForward" title="com.dtmilano.android.viewclient.UiScrollable.flingForward" alt="" coords="18,141,257,161"/>
<area shape="rect" id="node1_13" href="com.dtmilano.android.viewclient.UiScrollable-class.html#flingToBeginning" title="com.dtmilano.android.viewclient.UiScrollable.flingToBeginning" alt="" coords="18,161,257,181"/>
<area shape="rect" id="node1_14" href="com.dtmilano.android.viewclient.UiScrollable-class.html#flingToEnd" title="com.dtmilano.android.viewclient.UiScrollable.flingToEnd" alt="" coords="18,181,257,201"/>
<area shape="rect" id="node1_15" href="com.dtmilano.android.viewclient.UiScrollable-class.html#scrollTextIntoView" title="Performs a forward scroll action on the scrollable layout element until the text you provided is visible, or until swipe attempts have been exhausted." alt="" coords="18,201,257,221"/>
<area shape="rect" id="node1_16" href="com.dtmilano.android.viewclient.UiScrollable-class.html#setAsHorizontalList" title="com.dtmilano.android.viewclient.UiScrollable.setAsHorizontalList" alt="" coords="18,221,257,241"/>
<area shape="rect" id="node1_17" href="com.dtmilano.android.viewclient.UiScrollable-class.html#setAsVerticalList" title="com.dtmilano.android.viewclient.UiScrollable.setAsVerticalList" alt="" coords="18,241,257,261"/>
<area shape="rect" id="node1_18" href="com.dtmilano.android.viewclient.UiScrollable-class.html#setMaxSearchSwipes" title="com.dtmilano.android.viewclient.UiScrollable.setMaxSearchSwipes" alt="" coords="18,261,257,281"/>
<area shape="rect" id="node1_19" href="com.dtmilano.android.viewclient.UiScrollable-class.html#setViewClient" title="com.dtmilano.android.viewclient.UiScrollable.setViewClient" alt="" coords="18,281,257,301"/>
<area shape="rect" id="node1" href="com.dtmilano.android.viewclient.UiScrollable-class.html" title="A UiCollection that supports searching for items in scrollable layout elements." alt="" coords="5,68,268,307"/>
<area shape="rect" id="node2" href="com.dtmilano.android.viewclient.UiCollection-class.html" title="Used to enumerate a container&#39;s user interface (UI) elements for the purpose of counting, or targeting a sub elements by a child&#39;s text or description." alt="" coords="90,5,186,49"/>
</map>
  <img src="uml_class_diagram_for_com_dtmi_20.gif" alt='' usemap="#uml_class_diagram_for_com_dtmi_20" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>A <a href="com.dtmilano.android.viewclient.UiCollection-class.html" 
  class="link">UiCollection</a> that supports searching for items in 
  scrollable layout elements.</p>
  <p>This class can be used with horizontally or vertically scrollable 
  controls.</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">view</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="com.dtmilano.android.viewclient-pysrc.html#UiScrollable.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="flingBackward"></a><span class="summary-sig-name">flingBackward</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="com.dtmilano.android.viewclient-pysrc.html#UiScrollable.flingBackward">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="flingForward"></a><span class="summary-sig-name">flingForward</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="com.dtmilano.android.viewclient-pysrc.html#UiScrollable.flingForward">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="flingToBeginning"></a><span class="summary-sig-name">flingToBeginning</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">maxSwipes</span>=<span class="summary-sig-default">10</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="com.dtmilano.android.viewclient-pysrc.html#UiScrollable.flingToBeginning">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="flingToEnd"></a><span class="summary-sig-name">flingToEnd</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">maxSwipes</span>=<span class="summary-sig-default">10</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="com.dtmilano.android.viewclient-pysrc.html#UiScrollable.flingToEnd">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="com.dtmilano.android.viewclient.UiScrollable-class.html#scrollTextIntoView" class="summary-sig-name">scrollTextIntoView</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">text</span>)</span><br />
      Performs a forward scroll action on the scrollable layout element 
      until the text you provided is visible, or until swipe attempts have 
      been exhausted.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="com.dtmilano.android.viewclient-pysrc.html#UiScrollable.scrollTextIntoView">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setAsHorizontalList"></a><span class="summary-sig-name">setAsHorizontalList</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="com.dtmilano.android.viewclient-pysrc.html#UiScrollable.setAsHorizontalList">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setAsVerticalList"></a><span class="summary-sig-name">setAsVerticalList</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="com.dtmilano.android.viewclient-pysrc.html#UiScrollable.setAsVerticalList">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setMaxSearchSwipes"></a><span class="summary-sig-name">setMaxSearchSwipes</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">maxSwipes</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="com.dtmilano.android.viewclient-pysrc.html#UiScrollable.setMaxSearchSwipes">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setViewClient"></a><span class="summary-sig-name">setViewClient</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">vc</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="com.dtmilano.android.viewclient-pysrc.html#UiScrollable.setViewClient">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="scrollTextIntoView"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">scrollTextIntoView</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">text</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="com.dtmilano.android.viewclient-pysrc.html#UiScrollable.scrollTextIntoView">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Performs a forward scroll action on the scrollable layout element 
  until the text you provided is visible, or until swipe attempts have been
  exhausted. See setMaxSearchSwipes(int)</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="com.dtmilano.android-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="https://github.com/dtmilano/AndroidViewClient">Project Homepage</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1
    on Tue Jun 13 21:19:05 2017
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
